#if !defined(AFX_CHARTMULTIPLEPIESVIEW_H__4EE34D65_BF78_4F8A_AD77_18EFF517CCCC__INCLUDED_)
#define AFX_CHARTMULTIPLEPIESVIEW_H__4EE34D65_BF78_4F8A_AD77_18EFF517CCCC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// ChartMultiplePiesView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CChartMultiplePiesView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "BCGPChartExampleDoc.h"
#include "BCGPChartExampleView.h"

class CChartMultiplePiesView : public CBCGPChartExampleView
{
protected:
	CChartMultiplePiesView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CChartMultiplePiesView)

// Form Data
public:
	//{{AFX_DATA(CChartMultiplePiesView)
	enum { IDD = IDD_CHART_MULTIPLES_PIES };
	CBCGPButton	m_wndExplodePie;
	CBCGPComboBox	m_wndSeriesNamePosition;
	CBCGPComboBox	m_wndDataLabelPosition;
	CBCGPChartCtrl	m_wndChart;
	BOOL	m_bShowDataLabels;
	int		m_nDataLabelPosition;
	BOOL	m_bExplodePie;
	int		m_nSeriesNamePosition;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChartMultiplePiesView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	virtual CBCGPChartVisualObject* GetChart()
	{
		return m_wndChart.GetChart();
	}
	
	virtual CBCGPBaseVisualCtrl* GetCtrl()
	{
		return &m_wndChart;
	}
	
// Implementation
protected:
	virtual ~CChartMultiplePiesView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CChartMultiplePiesView)
	afx_msg void OnUpdateChart();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHARTMULTIPLEPIESVIEW_H__4EE34D65_BF78_4F8A_AD77_18EFF517CCCC__INCLUDED_)
